Add PTB HLT and LLT information to CAF files for real SBND data#614
Add PTB HLT and LLT information to CAF files for real SBND data#614
Conversation
fjnicolas
left a comment
There was a problem hiding this comment.
Looks great @hbjamin! See comment in SBNSoftware/sbnanaobj#180 about uint64_t for the decoded HLT/LLT IDs
PetrilloAtWork
left a comment
There was a problem hiding this comment.
I have dropped a few technical suggestions.
But more importantly I would like the author to deeply think about the real need for a catch(...) in the code.
|
Thank you for the good suggestions. There was no reason for me to use a catch statement. It was leftover from my initial debugging of |
|
Thanks @hbjamin ! @PetrilloAtWork , do the changes look good to you? Thanks! |
Description
This PR adds PTB information to CAF files for real SBND data, which is required for trigger efficiency studies using zero bias data. The implementation extracts all HLT (High Level Trigger) and LLT (Low Level Trigger) information from PTB fragments, decodes trigger words into individual bits, and stores them separately in the CAF structure. This PR requires merging SBNSoftware/sbnanaobj#180